﻿namespace Gqq.Csharpindepth.Common
{
    /// <summary>
    /// 用来模拟Compare接口
    /// </summary>
    public interface IListCompare
    {
        int Compare(object a, object b);
    }

    /// <summary>
    /// 泛型接口
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IListCompare<in T>
    {
        int Compare(T a, T b);         
    }


}
